//
// Created by lenovo on 2023-03-07.
//
#include <gtest/gtest.h>
#include <fstream>
#include <iostream>
#include <gmock/gmock.h>
#include "../src/utils/utils.h"

//TEST(utils_test, str2words) {
//    std::string str{"a axb bxc axc cxd"};
//    std::set<std::string> words;
//    str2words(str, words);
//    std::set<std::string> ans{"a", "axb", "bxc", "axc", "cxd"};
//    ASSERT_EQ(words.size(), 5);
//    ASSERT_THAT(words, testing::UnorderedElementsAreArray(ans));
//}